package com.app.model.bean;

import java.io.Serializable;

/**
 * 车辆信息实体
 */

public class Bike implements Serializable {

    // ID
    private String id;
    // 车牌号
    private String num;
    // 密码
    private String pwd;
    // 密码分享时间
    private long shareTime;
    /**
     * 密码是否正确，报错次数以及下发次数仅供服务端参考使用，便于确定正确的密码，客户端无需
     */
    // 密码是否正确
    private int correct;
    // 报错次数
    private int errorTime;
    // 下发次数
    private int useTime;

    public Bike() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public long getShareTime() {
        return shareTime;
    }

    public void setShareTime(long shareTime) {
        this.shareTime = shareTime;
    }

    public int isCorrect() {
        return correct;
    }

    public void setCorrect(int correct) {
        this.correct = correct;
    }

    public int getErrorTime() {
        return errorTime;
    }

    public void setErrorTime(int errorTime) {
        this.errorTime = errorTime;
    }

    public int getUseTime() {
        return useTime;
    }

    public void setUseTime(int useTime) {
        this.useTime = useTime;
    }
}
